<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>

<bean:define id="role" value="${auth.role.roleType}" scope="session" />
<logic:equal name="role" value="admin">
	<html:form action="/planeUpdateAction">
		<html:hidden property="planeId" value="${plane.planeId}" />
		<h1>
			<bean:message key="plane.title.update" />
		</h1>
		<br />
		<bean:message key="plane.name" />
		<html:text property="model" value="${plane.model}"></html:text>
		<br />
		<html:submit>
			<bean:message key="plane.update" />
		</html:submit>
		<html:reset>
			<bean:message key="reset" />
		</html:reset>
	</html:form>
</logic:equal>